<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">

<title>考勤系统主页面</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link type="text/css" rel="stylesheet" href="themes/bootstrap/easyui.css">
<link type="text/css" rel="stylesheet" href="themes/icon.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/easyui-lang-zh_CN.js"></script>

<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/index.css">

</head>

<script type="text/javascript">
	$(function(){
		
		$("#methodTree").tree({
			url : "loadMenu.do",
			onClick:function(node){
				$("iframe[name='mainFrame']").attr("src",node.attributes.url);
			}
		});
	});
</script>

<body>
	<div class="header">
		<h1>考勤系统</h1>
	</div>
	<div class="article">
		<div class="menu">
			<!-- 
			<a href="user/qry.do" target="mainFrame">用户管理</a>
			 -->
			<ul id="methodTree"></ul>
		</div>
		<div class="main">
			<iframe name="mainFrame" src="welcome.jsp"></iframe>
		</div>
	</div>
	<div class="footer">
		<address>&copy;copyright6-2020 Here We Go</address>
	</div>
</body>
</html>
